package cn.com.open.itembank.entity;

import java.math.BigDecimal;

/**
 * 策略表
 */
public class Rules {

    public Rules(){
        this.ruleID = "";
        this.ruleName = "";
        this.ruleType = 2;
        this.courseID = "";
        this.organizationID = "";
        this.score = new BigDecimal(0);;
        this.scoreLimit = new BigDecimal(0);
        this.displayCount = "";
        this.displayTime = "";
        this.ruleVersion = 0;
        this.comment = "";
        this.creater = "";
        this.createTime = "";
        this.modifier = "";
        this.modifyTime = "";
        this.approver = "";
        this.approveTime = "";
        this.lastUpdateTime = "";
        this.status = 0;
        this.isCheck = 0;
        this.timeLimited = 0;
        this.scale = "";
    }

    /**
     * 策略ID
     */
    private String ruleID;
    /**
     * 策略名称
     */
    private String ruleName;
    /**
     * 策略类型：1，完整策略；2， 策略模板
     */
    private Integer ruleType;
    /**
     * 课程ID
     */
    private String courseID;
    /**
     * 机构ID
     */
    private String organizationID;
    /**
     * 分数
     */
    private BigDecimal score;
    /**
     * ScoreLimit
     */
    private BigDecimal scoreLimit;
    /**
     * 曝光次数
     */
    private String displayCount;
    /**
     * 最后曝光时间
     */
    private String displayTime;
    /**
     * 版本号： 每审核一次，版本号加1
     */
    private Integer ruleVersion;
    /**
     * 备注
     */
    private String comment;
    /**
     * 创建人
     */
    private String creater;
    /**
     * 创建时间
     */
    private String createTime;
    /**
     * 修改人
     */
    private String modifier;
    /**
     * 修改时间
     */
    private String modifyTime;
    /**
     * 审核人
     */
    private String approver;
    /**
     * 审核时间
     */
    private String approveTime;
    /**
     * 最后修改的时间
     */
    private String lastUpdateTime;
    /**
     * 状态：0，启用；1，禁用，-1，删除(2015-12-15修订)
     */
    private Integer status;
    /**
     * 审核标记：0，未审核；1，已审核
     */
    public Integer isCheck;

    /**
     * 是否限制模块答题时间(0:不限制(默认);1:限制)
     */
    public Integer timeLimited;

    /**
     * 应用占比
     */
    public String scale;

    /**
     * Gets rule id.
     *
     * @return the rule id
     */
    public String getRuleID() {
        return ruleID;
    }

    /**
     * Sets rule id.
     *
     * @param ruleID the rule id
     */
    public void setRuleID(String ruleID) {
        this.ruleID = ruleID;
    }

    /**
     * Gets rule name.
     *
     * @return the rule name
     */
    public String getRuleName() {
        return ruleName;
    }

    /**
     * Sets rule name.
     *
     * @param ruleName the rule name
     */
    public void setRuleName(String ruleName) {
        this.ruleName = ruleName;
    }

    /**
     * Gets rule type.
     *
     * @return the rule type
     */
    public Integer getRuleType() {
        return ruleType;
    }

    /**
     * Sets rule type.
     *
     * @param ruleType the rule type
     */
    public void setRuleType(Integer ruleType) {
        this.ruleType = ruleType;
    }

    /**
     * Gets course id.
     *
     * @return the course id
     */
    public String getCourseID() {
        return courseID;
    }

    /**
     * Sets course id.
     *
     * @param courseID the course id
     */
    public void setCourseID(String courseID) {
        this.courseID = courseID;
    }

    /**
     * Gets organization id.
     *
     * @return the organization id
     */
    public String getOrganizationID() {
        return organizationID;
    }

    /**
     * Sets organization id.
     *
     * @param organizationID the organization id
     */
    public void setOrganizationID(String organizationID) {
        this.organizationID = organizationID;
    }

    /**
     * Gets score.
     *
     * @return the score
     */
    public BigDecimal getScore() {
        return score;
    }

    /**
     * Sets score.
     *
     * @param score the score
     */
    public void setScore(BigDecimal score) {
        this.score = score;
    }

    /**
     * Gets score limit.
     *
     * @return the score limit
     */
    public BigDecimal getScoreLimit() {
        return scoreLimit;
    }

    /**
     * Sets score limit.
     *
     * @param scoreLimit the score limit
     */
    public void setScoreLimit(BigDecimal scoreLimit) {
        this.scoreLimit = scoreLimit;
    }

    /**
     * Gets display count.
     *
     * @return the display count
     */
    public String getDisplayCount() {
        return displayCount;
    }

    /**
     * Sets display count.
     *
     * @param displayCount the display count
     */
    public void setDisplayCount(String displayCount) {
        this.displayCount = displayCount;
    }

    /**
     * Gets display time.
     *
     * @return the display time
     */
    public String getDisplayTime() {
        return displayTime;
    }

    /**
     * Sets display time.
     *
     * @param displayTime the display time
     */
    public void setDisplayTime(String displayTime) {
        this.displayTime = displayTime;
    }

    /**
     * Gets rule version.
     *
     * @return the rule version
     */
    public Integer getRuleVersion() {
        return ruleVersion;
    }

    /**
     * Sets rule version.
     *
     * @param ruleVersion the rule version
     */
    public void setRuleVersion(Integer ruleVersion) {
        this.ruleVersion = ruleVersion;
    }

    /**
     * Gets comment.
     *
     * @return the comment
     */
    public String getComment() {
        return comment;
    }

    /**
     * Sets comment.
     *
     * @param comment the comment
     */
    public void setComment(String comment) {
        this.comment = comment;
    }

    /**
     * Gets creater.
     *
     * @return the creater
     */
    public String getCreater() {
        return creater;
    }

    /**
     * Sets creater.
     *
     * @param creater the creater
     */
    public void setCreater(String creater) {
        this.creater = creater;
    }

    /**
     * Gets create time.
     *
     * @return the create time
     */
    public String getCreateTime() {
        return createTime;
    }

    /**
     * Sets create time.
     *
     * @param createTime the create time
     */
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    /**
     * Gets modifier.
     *
     * @return the modifier
     */
    public String getModifier() {
        return modifier;
    }

    /**
     * Sets modifier.
     *
     * @param modifier the modifier
     */
    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    /**
     * Gets modify time.
     *
     * @return the modify time
     */
    public String getModifyTime() {
        return modifyTime;
    }

    /**
     * Sets modify time.
     *
     * @param modifyTime the modify time
     */
    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }

    /**
     * Gets approver.
     *
     * @return the approver
     */
    public String getApprover() {
        return approver;
    }

    /**
     * Sets approver.
     *
     * @param approver the approver
     */
    public void setApprover(String approver) {
        this.approver = approver;
    }

    /**
     * Gets approve time.
     *
     * @return the approve time
     */
    public String getApproveTime() {
        return approveTime;
    }

    /**
     * Sets approve time.
     *
     * @param approveTime the approve time
     */
    public void setApproveTime(String approveTime) {
        this.approveTime = approveTime;
    }

    /**
     * Gets last update time.
     *
     * @return the last update time
     */
    public String getLastUpdateTime() {
        return lastUpdateTime;
    }

    /**
     * Sets last update time.
     *
     * @param lastUpdateTime the last update time
     */
    public void setLastUpdateTime(String lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    /**
     * Gets status.
     *
     * @return the status
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * Sets status.
     *
     * @param status the status
     */
    public void setStatus(Integer status) {
        this.status = status;
    }


    /**
     * Gets is check.
     *
     * @return the is check
     */
    public Integer getIsCheck() {
        return isCheck;
    }

    /**
     * Sets is check.
     *
     * @param isCheck the is check
     */
    public void setIsCheck(Integer isCheck) {
        this.isCheck = isCheck;
    }

    /**
     * Gets time limited.
     *
     * @return the time limited
     */
    public Integer getTimeLimited() {
        return timeLimited;
    }

    /**
     * Sets time limited.
     *
     * @param timeLimited the time limited
     */
    public void setTimeLimited(Integer timeLimited) {
        this.timeLimited = timeLimited;
    }

    /**
     * Gets scale.
     *
     * @return the scale
     */
    public String getScale() {
        return scale;
    }

    /**
     * Sets scale.
     *
     * @param scale the scale
     */
    public void setScale(String scale) {
        this.scale = scale;
    }
}
